package com.breaktian.demoapp.ui.jetpack.viewmodel;

import android.arch.lifecycle.MutableLiveData;
import android.arch.lifecycle.ViewModel;

import com.breaktian.network.api.finance.ApiCallback;
import com.breaktian.network.api.finance.ApiResult;

public class CeshiViewModel extends ViewModel {

    private MutableLiveData<TestViewModel.Bean> beanLiveData = new MutableLiveData<>();
    private MutableLiveData<ApiResult.ApiError> errorLiveData = new MutableLiveData<>();

    public MutableLiveData<TestViewModel.Bean> loadBean2() {

        return beanLiveData;
    }

    public MutableLiveData<ApiResult.ApiError> getError2(){
        return errorLiveData;
    }


    public static class Bean{
        public String title;
        public String desc;

    }

}



